<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <?php include_once MvcReg::$_moduleName . '/views/layout/head.php'; ?>
    <style>
        .modal-dialog{width:1000px;}
        #main .right-content{min-height: 1500px}
    </style>
</head>
<body>
<?php include_once MvcReg::$_moduleName . '/views/layout/header.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/layout/top-nav.php'; ?>
<div id="main">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-12">
                <div class="right-content">
                    <div >
                                            <div class="wrapper wrapper-content animated fadeInUp">
                                                <div class="ibox">
                                                    <div class="ibox-content">
                                                        <form class="form-horizontal">
                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">姓名：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="email" placeholder="姓名" class="form-control" value="<?php echo $rsp_list['name'];?>">
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">性别：</label>
                                                                <div class="col-sm-5">
                                                                    <?php if($rsp_list['sex'] == 1){ $sex = '男';}else{
                                                                        $sex = '女';
                                                                    }?>
                                                                    <input type="text" placeholder="性别" class="form-control" value="<?php echo $sex;?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">出生年月：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="出生年月" class="form-control" value="<?php echo $rsp_list['birth_date'];?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">年龄：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="年龄" class="form-control" value="<?php echo $rsp_list['age'];?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">联系电话：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="联系电话" class="form-control" value="<?php echo $rsp_list['tel'];?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">常住地址：</label>
                                                                <div class="col-sm-5">
                                                                    <?php foreach($province as $pk=>$pv){
                                                                        if($pv['code'] == $rsp_list['province']){
                                                                            $province = $pv['fullname'];
                                                                        }
                                                                        if ($pv['code'] == $rsp_list['city']){
                                                                            $city = $pv['fullname'];
                                                                        } if ($pv['code'] == $rsp_list['area']){
                                                                            $area = $pv['fullname'];
                                                                        }


                                                                        if($pv['code'] == $rsp_list['service_province']){
                                                                            $service_province = $pv['fullname'];
                                                                        }
                                                                        if ($pv['code'] == $rsp_list['service_city']){
                                                                            $service_city = $pv['fullname'];
                                                                        } if ($pv['code'] == $rsp_list['service_area']){
                                                                            $service_area = $pv['fullname'];
                                                                        }
                                                                    }?>
                                                                    <input type="text" placeholder="常住地址" class="form-control" value="<?php echo $province.' '.$city.' '.$area;?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label"></label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="常住地址" class="form-control" value="<?php echo $rsp_list['address'];?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">服务城市：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="服务城市" class="form-control" value="<?php echo $service_province.' '.$service_city.' '.$service_area;?>">
                                                                </div>
                                                            </div>

                                                            <?php foreach($store as $sk=>$sv){
                                                                if($sv['store_id'] == $rsp_list['service_shop_no']){
                                                                    $storename = $sv['storename'];
                                                                }
                                                            }?>
                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">服务门店：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="服务城市" class="form-control" value="<?php echo $storename;?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">身份证号码：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="身份证号码" class="form-control" value="<?php echo $rsp_list['id_card'];?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">身份证（正面）：</label>
                                                                <div class="col-sm-9">
                                                                    <div class="input-group" >
                                                                        <img src="webroot/file/riders/<?php echo $rsp_list['card_front_img'];?>" id="img_card_front1" alt="" style="width: 350px;height:170px;border: 1px solid #CCCCCC">
                                                                    </div>
                                                                </div>
                                                            </div>


                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">身份证（反面）：</label>
                                                                <div class="col-sm-9">
                                                                    <div class="input-group" >
                                                                        <img src="webroot/file/riders/<?php echo $rsp_list['card_back_img'];?>" id="img_card_front2" alt="" style="width: 350px;height:170px;border: 1px solid #CCCCCC">
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">健康证：</label>
                                                                <div class="col-sm-9">
                                                                    <div class="input-group" >
                                                                        <img src="webroot/file/riders/<?php echo $rsp_list['health_cards'];?>" id="img_card_front3" alt=""style="width: 350px;height:170px;border: 1px solid #CCCCCC">
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">健康证起始时间：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="紧急联系人" class="form-control" value="<?php echo strstr($rsp_list['jkz_start'],' ',trur);?> 至 <?php echo strstr($rsp_list['jkz_end'],' ',true);?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">简历：</label>
                                                                <div class="col-sm-5">
                                                                    <textarea name="" id="" style="width: 100%;height: 120px;" ><?php echo $rsp_list['resume'];?></textarea>
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">紧急联系人：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="紧急联系人" class="form-control" value="<?php echo $rsp_list['urgency_cont_username'];?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">紧急联系人电话：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="紧急联系人电话" class="form-control" value="<?php echo $rsp_list['urgency_cont_username_tel'];?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">与本人关系：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" placeholder="与本人关系" class="form-control" value="<?php echo $rsp_list['urgency_relation'];?>">
                                                                </div>
                                                            </div>

                                                            <div class="form-group">
                                                                <label class="col-sm-3 control-label">审核：</label>
                                                                <div class="col-sm-5">
                                                                    <input type="text" class="form-control" value="通过" disabled >
                                                                </div>
                                                            </div>
                                                        </form>
                                                    </div>
                                                </div>
                                            </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php include_once MvcReg::$_moduleName . '/views/layout/footer.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/dialog/express_order_setting.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/dialog/express_order_cancel.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/dialog/express_horse_forbidden.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/dialog/express_horse_check.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/dialog/del_order.php'; ?>
</body>
</html>
